package com.yfp.operation.service.impl;

import com.yfp.operation.domain.WxGroupChat;
import com.yfp.operation.mapper.WxGroupChatMapper;
import com.yfp.operation.service.WxGroupChatService;
import jakarta.annotation.Resource;
import me.chanjar.weixin.cp.api.WxCpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 微信群
 *
 * @CreateDate: 2024/7/6 15:30
 * @UpdateUser:
 * @UpdateDate: 2024/7/6 15:30
 * @UpdateRemark: 暂无修改
 * @Version: 1.0
 */
@Service
public class WxGroupChatServiceImpl implements WxGroupChatService {
    @Resource
    private WxGroupChatMapper wxGroupChatMapper;

    @Override
    public WxGroupChat getById(String id) {
        return wxGroupChatMapper.getById(id);
    }

    @Override
    public List<WxGroupChat> findList(WxGroupChat wxGroupChat) {
        return wxGroupChatMapper.findList(wxGroupChat);
    }

    @Override
    public void add(WxGroupChat wxGroupChat) {
        wxGroupChatMapper.add(wxGroupChat);
    }

    @Override
    public void edit(WxGroupChat wxGroupChat) {
        wxGroupChatMapper.edit(wxGroupChat);
    }

    @Override
    public void editStatusNotInGroupChatIds(List<String> groupChatIds) {
        wxGroupChatMapper.editStatusNotInGroupChatIds(groupChatIds);
    }
}
